<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      /*
       Promise.all
        ① 输入数组类型，数组的每个元素是 new Promise() 对象
        ② 输出 new Promise() 对象
       */
      // new Promise().then().catch()
      Promise.all([new Promise(), new Promise(), new Promise()]);
    </script>
  </body>
</html>
